package pri.hillchen.springboot.shiro.service.impl;

import org.springframework.stereotype.Service;
import pri.hillchen.springboot.shiro.common.service.impl.BaseServiceImpl;
import pri.hillchen.springboot.shiro.entity.Permission;
import pri.hillchen.springboot.shiro.mapper.PermissionMapper;
import pri.hillchen.springboot.shiro.service.PermissionService;

import java.util.List;

/**
 * Created by hillchen on 2017/10/17 0017.
 */
@Service
public class PermissionServiceImpl extends BaseServiceImpl<PermissionMapper, Permission> implements PermissionService{
    @Override
    public List<Permission> queryUserPermission(String userName) {
        return baseMapper.queryUserPermission(userName);
    }
}
